home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Technical Documentation / Inside Macintosh / IM—PowerPC Numerics / IM—PowerPC Numerics.rsrc / IDX#_1000 < prev    next >
Encoding:
Text File  |  1994-04-27  |  13.2 KB  |  33 lines

  1. SymbolsABCDEFGHIJKLMNOPQRSTUVWXYZAPDA format conventions for this book
  2. IEEE standard$IEEE Standard 754. See IEEE standardPowerPC NumericsSANEaccuracyof basic arithmetic operationsarithmetic, IEEE standard&computer approximation of real numbersdecimal fractionsdivisionby zero2elementary functions. See transcendental functionsexception handlingexceptional events
  3. exceptionsIEEE arithmetic
  4. advantages
  5. advantagesIEEE Standard 854-IEEE standard arithmetic. See IEEE arithmetic
  6. Infinitiesas alternative to stoppinginterval arithmeticinverse operationsNaNsas alternative to stopping
  7. advantages    precision real numberscomputer approximationroundingdefinedrounding directioncontroltranscendental functionsdefinedzero division by∞. See Infinities ±0. See zerobias of exponents data formatschoosingdiagrams
  8. double formatdouble-double format precision ofrange of
  9. single formatdenormalized numbers
  10. density ofdouble-double formatdensity of denormalized numbers#density of single-precision numbers
  11. double formatdiagramrangedouble-double formatcompared to extended formatdiagraminterpretation of values    precisionrangeexponentdefinedextended data type compared to double-double format-floating-point data formats. See data formats#floating-point values, interpretingflush-to-zero systemsformats. See data formatsfraction fielddefinedgradual underflowIEEE data formats'. See also single format, double format data formatsdouble-double formatnegativepositive
  12. integer types"interpreting floating-point valuesinvalid exceptionsignaling NaN, result ofdouble-double formatquiet    signaling!negative Infinity. See Infinitiesnegative zero. See zeronormalized numbers compared to denormalized numbersdouble-double formatNot-a-Number. See NaNs!positive Infinity. See Infinitiespositive zero. See zero data formatsof data formats
  13. quiet NaNsrange of data formats(roundoff error with denormalized numberssign bit sign of zerosignaling NaNs significand
  14. single formatdiagramrange$single-precision numbers, density of small valuesand error analysis representingtypes. See data formats    underflowgradualvalues, interpreting variable types. See data formats–0 as a resultdouble-double formatsign ofexpression evaluation format
  15. semantic typeevaluation formatminimumexpression evaluation formatexpression evaluation methodswidest-need evaluationidest-need evaluationlanguage#function calls,  conversions duringminimum evaluation formatexamples    perations!subject to arithmetic conversionsrithmetic operationsautomatic type conversions
  16. semantic typevaluation format widest needwidest-need evaluationexamplesxpression evaluation methodsexamplesabsolute valuecopysign functioninvalid exceptioncurrent rounding directiondefault environmentdefault rounding directiondivide-by-zero exceptiondefineddownward roundingdefined environmentdefaultenvironmental controlsdescriptions ofdivide-by-zeroinexactinvalidoverflow    underflow
  17. fabs function+floating-point environment. See environment)floating-point exceptions. See exceptions
  18. exceptionsrounding direction modes. See also rounding directionrounding precision modesinexact exceptionintegers, convertingrounding2invalid-operation exception. See invalid exceptionoverflowenvironmental controls result, tinydefaultdownward
  19. to nearest toward zeroupwardrounding downwarddefined&rounding modes. See rounding directionrounding precision modesrounding to integerrounding to nearest valuerounding toward zerodefinedrounding upwarddefinedinvalid exception tiny resultto-nearest rounding)toward –∞ rounding. See downward rounding'toward +∞ rounding. See upward roundingtoward-zero roundingdefinedupward roundingrounding towarddecimal to binary conversionsbinary to decimal conversionsstrings
  20. structures conversionsaccuracy of decimal to binarybetween decimal formatsbetween floating-point formatsdouble-double to decimalinexact exceptioninvalid exceptionconverting betweendecform structure!decimal data, reading and writingdecimal formatting structuredecimal stringsdecimal structuredecimal to binary conversionsstrings
  21. structuresdecimal to decimal conversionsconverting to decimalconversions required conversionsconverting to integer conversionsconverting to integerconversions supportedstring conversions* (multiply) operator+ (plus) operator/ (divide) operatoradditionargument reductionarithmetic operationsadditiondivisionmultiplication    remainder square rootauxiliary functions&comparison operations. See comparisonscomparison operators comparisonsinvolving Infinitiesinvolving NaNs
  22. rint function
  23. rint function
  24. fmod function    functions    auxiliary
  25. operationsarithmetic operationsauxiliary functions comparisons comparisonsmodulo functionmultiplication comparisons
  26. operations
  27. arithmeticdefined
  28. comparisoncompilerfunctions supportedoperations supportedorder ofrelational operatorsremainder functiondefinedremainderl functionremquo functionremquol functionrintl functioncurrent comparisons
  29. sqrt functionsqrtl functionsquare root operationdefined nan function
  30. C languagedata types, newdouble type. See double formatfloat type. See single format*long double type. See double-double formatcompilerwidening for efficiencydouble type. See double formatdouble_t typedef9in definitions of float_t and double_t[extended data type$definitions of float_t and double_t]float type. See single formatfloat_t typedefFPCE technical report
  31. data typesINFINITY constant*long double type. See double-double formatMathLibdata types, new NAN constant nan functionPowerPC Numerics
  32. nanf function
  33. nanl functioncreatingtagp parameterwidening for efficiencyaccessing the environment C functionsatomic operationsenvironmental controlscontrolling the environment C functions    accessing C functionsC functions, types    restoringcompilersavingsetting (compiler)environmental access switchpurpose, note on C functions C functionsclearingcompilerraisingcompilerrestoring (compiler)savingsettingspurioustestingfeclearexcept functionfegetenv function
  34. definition%difference from feholdexcept functionfegetexcept function
  35. definitionwith fesetexcept functionfegetround function
  36. definitionwith fesetround function fenv.h file fenv_t typeferaiseexcept functionfesetenv functionfesetexcept functionfesetround functionfetestexcept functionfeupdateenv functionwith feholdexcept functionfexcept_t typeFE_ALL_EXCEPT constantFE_DFL_ENV constantenvironmental accessenvironmental controlscompilersaving (compiler)settingcompilerexamplespurious exceptionsexample C functions
  37. ceil functionceill functionbinary to decimal
  38. ceil functiondecimal to binary C functionsfloating-point to integerfloor functioninteger to floating-pointrinttol functionround functionroundtol functionrinttol functiondec2str function
  39. definition digits field style fielddecimal output fixed-stylefloating-style
  40. definition    exp field    sgn field    sig fieldfloor functionfloating-point numbersintegers, converting tocompilerfloor functionfloorl functionformatters, numericformatting outputfixed-style decimalfloating-style decimalnearbyint functionconverting to decimalconverting to floating-pointconverting to stringcompilerconverting to decimalconverting to floating-pointconverting to stringnearbyintl functionnum2dec function
  41. definitionwith dec2str functionoutputfixed-style decimalfloating-style decimalrinttol functionrinttoll functionround functionfloor function
  42. ceil functionroundl functionroundtol functionroundtoll functionscannersstr2dec function$truncating floating-point to integertruncl function
  43. ceil functioncompiler,antilog functions. See exponential functionsscalingsign manipulationbase 2 exponentialcomparison functions C functionscopysignl functiondifference, positive function exp function
  44. exp2 functionexp2l function
  45. expl functionexpm1 functionexpm1l functiondetermining value ofexponential functionsbase 2 exponentialnatural exponentialnatural exponential – 1fabsl function
  46. fdim functionfdiml function
  47. fmax functionfmaxl function
  48. fmin functionfminl functiondetermining value offrexp functionfrexpl function
  49. comparison exponential logarithmicsign manipulationldexp functionldexpl function log functionlogarithmic functionsnatural
  50. logl functionmaximum functionminimum functionnatural exponentialnatural exponential minus 1natural logarithmpositive difference function pow functionPowerPC Numericspower function
  51. powl functionrelation functionrelationl functionscalb functionPowerPC Numericsscalbl functionscaling functionsldexp functionscalb functionsign manipulation functionscopysign
  52. fabs function
  53. acos functionacosh functionacoshl functionacosl function
  54. arc cosinearc cosine, hyperbolicarc sinearc sine, hyperbolic arc tangentarc tangent, hyperbolic
  55. asin functionasinh functionasinhl functionasinl function
  56. atan functionatan2 functionatan2l functionatanh functionatanhl functionatanl functionexponent field, returnbinary logarithmcommon logarithm cos function
  57. cosh functioncoshl functioncosinecosine, hyperbolic
  58. cosl functionerfcl function
  59. erfl function    splitting
  60. hyperbolic
  61. trigonometricgammal functionhyperbolic functions
  62. logb functionlog10 functionlog10l functionlog1p functionlog1pl function
  63. log2 functionlog2l functionbinarycommon
  64. logb functionlogbl function
  65. modf functionmodfl function pi constant sin functionsinesine, hyperbolic
  66. sinh functionsinhl function
  67. sinl function tan functiontangenttangent, hyperbolic
  68. tanh functiontanhl function
  69. tanl functiontrigonometric functions#trigonometric functions, hyperbolicannuity functionnextafter functionscomplementary error functioncompound function erf function
  70. erfc functionerror functionsfinancial functionserror    financialgammagamma functiongamma functionshypot function
  71. hypotenusehypotl functionlgamma functionlgammal function log of gammanextafter functionsPowerPC Numericsnextafterl functionrandom number generatorrandomx function address mode    assembler data formatsCondition Register    assemblerfloating-point registersFPSCRload assembler instructionsformats#PowerPC floating-point architecture data formats    registersCondition Registerfloating-pointFPSCRspecial-purposespecial-purpose registersstore assembler instructionsformatsenvironmental accessbranch assembler instructionsassembler instructionsCR. See Condition Register    assemblerassembler instructionsassembler instructions    assembler"enabling and disabling (assembler)
  72. preserving    assembler    assembler    assembler    assemblertestingfloating-point result flags=Floating-Point Status and Control Register (FPSCR). See FPSCRexception bitsformat manipulation result flagsrounding directionmcrfs assembler instructionmffs assembler instructionmtfsb0 assembler instructionmtfsb1 assembler instructionmtfsf assembler instructionmtfsfi assembler instructionenvironmental access result flags    assembler    assembler    assembler    assembler    assembleroperations supported    assemblerassembler instructionsdifference operation    assembler    assemblerfcmpo assembler instructionfcmpu assembler instruction    assembler#multiply-add assembler instructionsformat    assembler    assembler    assemblerordered comparison    assembleroperations supportedsubtraction operation    assembler    assembler680x0-based Macintosh computers porting fromcomp data type (porting)"compatibility across architecturesSANESANESANESANE8in transcendental function declarations[double_t typedef%transcendental function declarations]SANESANEexp1 SANE functionSANE:in transcendental function declarations[extended data type%transcendental function declarations]    fp.h file
  73. porting toSANEipower SANE functionlog1 SANE function
  74. porting toSANESANESANESANEpi SANE functionporting programs    from SANESANESANE, compared toSANE, porting fromcompared to PowerPC Numerics conversions data formatsdenormalized numbers environmentexpression evaluation
  75. InfinitiesNaNs
  76. operationsporting programs fromtranscendental functions sane.h fileSANE4Standard Apple Numerics Environment (SANE). See SANESANE8087 coprocessorAINTBASIC
  77. CDC computersCray computersuseevaluation rulesFortranHP Spectrum quad format IBM Q formatinstant roundingINTinvalid operation flagMC68881 coprocessor
  78. mixed formatsporting programsPascalPDP-11Cfrom non-Macintosh computersinstantSIGN(A)    SIGN(A,B)stopping programtransported codeTrunc function VAX H format_MIN_EVAL_FORMAT macro_WIDEST_NEED_EVAL macroexpression evaluationcompiler optimizations5and evaluation of floating-point constant expressionsand floating-point environmentand widest-need evaluationcontraction operatorsas minimum evaluation formatas minimum evaluation formatignoringdefinedcompiler&floating-point expressions, evaluating(floating-point variables, initializationexpression evaluationfp_contract pragma"fp_wide_function_parameters pragmafp_wide_function_returns pragmafp_wide_variables pragma*initialization of floating-point variables expression evaluation extensionsenabling and disabling
  79. optimizations5and evaluation of floating-point constant expressionsand floating-point environmentand widest-need evaluationpragmas fenv_access fp_contractfp_wide_function_parametersfp_wide_function_returnsfp_wide_variablesas minimum evaluation format